﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TripPlan.aspx.cs" Inherits="TripPlan" %>
<%@ Register Src="CommonSearch.ascx" TagName="CommonSearch" TagPrefix="uc2" %>
<%@ Register Src="Header.ascx" TagName="Header" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>活动行程安排及详情</title>
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="style/common.css" />
<link rel="stylesheet" type="text/css" href="style/Segment/Header.css" />
<link rel="stylesheet" type="text/css" href="style/Segment/Siderbar.css" />
<link rel="stylesheet" type="text/css" href="style/Segment/Tripplan.css" />
<link rel="stylesheet" type="text/css" href="style/Segment/Comment.css" />
<link rel="stylesheet" type="text/css" href="style/Segment/Footer.css" />
<link rel="stylesheet" type="text/css" href="style/Segment/Registerandsign.css" />
<link rel="stylesheet" type="text/css" href="style/Segment/Search.css" />
<script src="js/footrip.js" type="text/javascript"></script>
</head>
<body id="normalbody">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
       <Services>
           <asp:ServiceReference Path="WSLogin.asmx" />
       </Services>
   </asp:ScriptManager>
<div id="container">
    <uc1:Header ID="Header1" runat="server" />
    <uc2:CommonSearch ID="CommonSearch1" runat="server" />
   <!--Main-->
      <div id="leftContainer1">
      <!--活动的简单介绍-->
      <div id="tripInfoHead">
      
      <h1><font class="InfoTitle"><%=eventTitle %></font></h1>
      <div class="eventHeadPic"><img src="<%=eventPic %>" /></div>
      <div class="eventItem">
       <table>
      <tr>
      <td style="width:80px;"><b>活动日期：</b></td>
      <td style=" width:200px;"><%=eventDate %></td>
      </tr>
      <tr>
      <td><b>预计费用：</b></td>
      <td><%=eventCost %></td>
      </tr>
      <tr>
      <td><b>出发地：</b></td>
      <td><%=fromCity %></td>
      </tr>
      <tr>
      <td><b>途经地：</b></td>
      <td><%=toCities %><!--上海 | 陕西 | 苏州 | 杭州--></td>
      </tr>
      <tr>
      <td><b>发起人：</b></td>
      <td><a href="tfuserprofile.aspx?uid=<%=tripOwnerId %>"><%=tripOwner%></a></td>
      </tr>
      <tr>
      <td><b>联系方式：</b></td>
      <td>QQ<%=QQ %> / 手机：<%=mobilePhone %></td>
      </tr>
      <tr>
      <td><b>标签：</b></td>
      <td><a href="">陕西</a> <a href="">陕西</a> <a href="">陕西</a> <a href="">陕西</a></td>
      </tr>
      </table>
      
      </div>
      <div class="eventControl">
      <h2 style=" font-weight:normal">已有<label id="lblAttendCount"><%=attendCount %></label>人参加此活动</h2>
      <h2 style=" font-weight:normal">已有<label id="lblAttentionCount"><%=attentionCount %></label>人关注此活动</h2>
      <p><input id="btnAttend" type="button" onclick="return AttendEvent();" value="报名参加" class="butn_blue" /></p>
      <p><input id="btnAttention" type="button" onclick="return PayAttentionToEvent();" value="关注活动" class="butn_green" /></p>
      
      <p><input id="btnQuit" style="display:none" type="button" onclick="return QuitEvent();" value="退出活动" class="butn_blue" /></p>
      <p><input id="btnCancelAttention" style="display:none" type="button" onclick="return CancelAttentionEvent();" value="取消关注" class="butn_green" /></p>
      <p><input type="button" value="推荐好友" class="butn_yellow" /></p>
      <img src="images/ico_addmytrip.jpg" /><a href="">添加到我的活动</a>
      </div>
      <div class="clear"></div>
     
      </div>
      <!---->
      </div>
      
      
      <!--侧栏开始-->
      <div id="righside1">
      
         <!--我的足迹-->
         <div id="myfootripside">
         <table cellpadding="0" cellspacing="0" background="0">
         <tr><td><img src="images/side_top.jpg" /></td></tr>
         
         <tr><td>
         <div class="userBox">
         
            <div class="userBoxTitle">会员</div>
            <div class="boxbody">
            <div class="headPic"><a href="home.html"><img src="images/head.jpg" height="50"/></a></div>
            <div class="myItem">
            <ul>
               <li><a href="creat_trip_2.html">我也要发起活动</a></li>
               <li><a href="">我参加的活动</a>/<a href="">关注的活动</a></li>
               <li><a href="">我的个人主页</a></li>
               </ul></div>
               <div class="clear"></div>
               
             </div>
             
             <div class="userBoxTitle">我已浏览过...</div>
             <div class="boxbody">
             <ul>
             <li><a href="">上海十月一黄金游:)</a></li>

             </ul>
             </div>
               
             </div>
             </td></tr>
             <tr><td><img src="images/side_bottom.jpg" /></td></tr>
             </table>
          
         </div>
      <!---->
      
      </div>
      <div class="clear"></div>
      
      <!--活动行程-->
      
      <div id="planTime">
        <%=trips %>
      </div>
      
      <!--右边-->
      <div id="planbody">
      <!--tab title-->
      <div id="navigationTitle"><font class="selectTitle">详情介绍</font> | <a href="tripplan_3.html">地图</a> | <a href="">攻略</a></div>
      <!--tab content 详情介绍-->
      <div id="detailIntroduce">
          <div id="eleInfo" class="tripplaceInfo">
            <%=eventHMemo %>
          </div>
          <div class="tripUser">
              <h1><span><a href="tripplan_userall.html">查看全部</a></span>参加活动驴友...</h1>
              <div id="attendUserList">
                  <%--<table cellpadding="0" cellspacing="0" border="0">
                  <tr>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic0.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic1.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic2.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic4.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic1.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic2.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic3.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic5.jpg" /></a><p><a href="">小王</a></p></td>
                  </tr>
                  <tr>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic3.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic0.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic5.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic2.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic6.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"> </td>
                  <td style="width:80px; text-align:center;"> </td>
                  <td style="width:80px; text-align:center;"> </td>
                  </tr>
                  </table>--%>
              </div>
              <h1><span><a href="tripplan_userall.html">查看全部</a></span>关注活动驴友...</h1>
              <div id="attentionUserList">
                  <%--<table cellpadding="0" cellspacing="0" border="0">
                  <tr>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic0.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic1.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic2.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic4.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic1.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic2.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic3.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic5.jpg" /></a><p><a href="">小王</a></p></td>
                  </tr>
                  <tr>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic3.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic0.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic5.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic2.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"><a href="profile.html"><img src="images/pic6.jpg" /></a><p><a href="">小王</a></p></td>
                  <td style="width:80px; text-align:center;"> </td>
                  <td style="width:80px; text-align:center;"> </td>
                  <td style="width:80px; text-align:center;"> </td>
                  </tr>
                  </table>--%>
              </div>
          </div>
          <div class="tripComt">
              <h1>活动留言(<label id="leaveWordCount"></label>)...</h1>
              <div id="EHComment">
              
              
              </div>
              <div id="EHCommentFooter"></div>
              <div class="clear"></div>
              </div>
              
              <div class="addcomment2"><textarea id="LeaveWords" style="width:550px;" rows="3"></textarea>
                   <p><input type="button" class="butn_green" value="添加留言" id="btnLeaveWord" onclick="return btnLeaveWord_onclick()" /></p></div>
              <div class="clear"></div>
          </div>
          </div>
          
      <!---->
      </div>

      <!---->
      <div class="clear"></div>
   

<!---Footer--->
<div id="footer">
<span>Copyright © 2008 Footrip.com All Rights Reserved</span>
<ul>
<li><a href="">关于我们</a> | </li>
<li><a href="">广告联系</a> | </li>
<li><a href="">隐私保护</a> | </li>
<li><a href="">特色功能</a> | </li>
<li><a href="">使用帮助</a> | </li>
<li><a href="">建议反馈</a> | </li>
</ul>
<div class="clear"></div>
</div>

    <div id="hiden">
        <div id="addtripbox">
           <div class="popframeTitle" id="addtripboxTitle"><div class="close"><a href="#" id="addtripboxCloseBtn" title="关闭"></a></div>欢迎注册足迹网Footrip.com</div>
           <div class="selectCity">
                选择城市：
                <select id="selectCities" name="selectCities" style="width:100px;" onchange="SelectCitiesChangeHandle(this.value)">
                </select>
            </div>
           <div id="boxBody">
           <div class="boxTitle"><a href="triplist.html">酒店</a> | <font class="select">景点</font> | <a href="triplist.html">餐馆</a> | <a href="triplist.html">购物</a> | <a href="triplist.html">娱乐</a> | <a href="triplist.html">买票</a></div>
           <div class="sereachCity"><span><a href="">显示地图详情</a></span><input type="text" style="width:160px;" />&nbsp;&nbsp;<input type="button" value="搜 索" class="butn_green" /></div>
           <ul>
           <li><b>选择查看：&nbsp;&nbsp;</b>
               <select id="select1" name="select2" style="width:100px;">
                <option value="">按热门度</option>
                <option value="">评分级别</option>
                </select>
           </li>
           <li><b>景点类别：&nbsp;&nbsp;</b><input type="checkbox" class="inputNone" />主题公园&nbsp;&nbsp;&nbsp;<input type="checkbox" class="inputNone" />风景名胜&nbsp;&nbsp;&nbsp;<input type="checkbox" class="inputNone" />革命老区</li>
           </ul>
           <div id="selectedViews" class="systemTip_Y">
            <span>你已选择：</span>
           </div>
           <div id="Evs" style="height:165px">
                
           </div>
           </div>
           <div style="margin:0 auto 0 auto;width:20px"><input type="button" class="butn_green" value="完  成" id="completeTripAdd" /></div>

        </div>
    </div>
    
    </form>
</body>
</html>
<script  type="text/javascript">
    var isAttend = false;
    requestParam = GetRequestParam();
    if(requestParam)
    {
        GetTripPlanDetail();
         var searchEHLeaveWordDataGrid = new DataGrid(SelectEHLeaveWord);
        searchEHLeaveWordDataGrid.BindData(1);
        
        GetAttendUserListByEhId();
        GetAttentionUserListByEhId();
    }
    
    function btnLeaveWord_onclick() 
    {
        var reqParam = GetRequestParam();
        if(reqParam)
            InsertLeaveWordsForEH(reqParam.ehId);
    }

</script>